package edu.iyte.ceng431.hw2.pos.model;

public class Cash extends Payment implements ICash {

	public Cash(double amount) {
		super(amount);
	}

	@Override
	public double calculateChange(double givenAmount) {
		return super.getAmount() - givenAmount;
	}

}
